package com.ys.entity.storage;

import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCC_LogisticsSadFile", catalog="Id")
public class TccLogisticsSadFile extends BaseEntity<TccLogisticsSadFile> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="LogisticsComprehensiveId", nameJava="logisticsComprehensiveId", typeDataBase="bigint")
	private Long logisticsComprehensiveId;
	@YsField(nameDataBase="FbaNo", nameJava="fbaNo", typeDataBase="varchar")
	private String fbaNo;
	@YsField(nameDataBase="LogOrderBid", nameJava="logOrderBid", typeDataBase="varchar")
	private String logOrderBid;
	@YsField(nameDataBase="LogInvoiceNo", nameJava="logInvoiceNo", typeDataBase="varchar")
	private String logInvoiceNo;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="DeclareTime", nameJava="declareTime", typeDataBase="datetime")
	private Date declareTime;
	@YsField(nameDataBase="DeclareState", nameJava="declareState", typeDataBase="tinyint")
	private Integer declareState;
	@YsField(nameDataBase="DeclareBid", nameJava="declareBid", typeDataBase="varchar")
	private String declareBid;
	@YsField(nameDataBase="Vgsbm", nameJava="vgsbm", typeDataBase="varchar")
	private String vgsbm;
	@YsField(nameDataBase="LogisticsName", nameJava="logisticsName", typeDataBase="varchar")
	private String logisticsName;
	@YsField(nameDataBase="LogisticsService", nameJava="logisticsService", typeDataBase="varchar")
	private String logisticsService;
	@YsField(nameDataBase="AnnexFile", nameJava="annexFile", typeDataBase="varchar")
	private String annexFile;
	@YsField(nameDataBase="CountryBid", nameJava="countryBid", typeDataBase="varchar")
	private String countryBid;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TccLogisticsSadFile setId(Long id) {
		this.id = id;
		return this;
	}
	public Long getLogisticsComprehensiveId() {
		return logisticsComprehensiveId;
	}
	public TccLogisticsSadFile setLogisticsComprehensiveId(Long logisticsComprehensiveId) {
		this.logisticsComprehensiveId = logisticsComprehensiveId;
		return this;
	}
	public String getFbaNo() {
		return fbaNo;
	}
	public TccLogisticsSadFile setFbaNo(String fbaNo) {
		this.fbaNo = fbaNo;
		return this;
	}
	public String getLogOrderBid() {
		return logOrderBid;
	}
	public TccLogisticsSadFile setLogOrderBid(String logOrderBid) {
		this.logOrderBid = logOrderBid;
		return this;
	}
	public String getLogInvoiceNo() {
		return logInvoiceNo;
	}
	public TccLogisticsSadFile setLogInvoiceNo(String logInvoiceNo) {
		this.logInvoiceNo = logInvoiceNo;
		return this;
	}
	public Date getDeclareTime() {
		return declareTime;
	}
	public TccLogisticsSadFile setDeclareTime(Date declareTime) {
		this.declareTime = declareTime;
		return this;
	}
	public Integer getDeclareState() {
		return declareState;
	}
	public TccLogisticsSadFile setDeclareState(Integer declareState) {
		this.declareState = declareState;
		return this;
	}
	public String getDeclareBid() {
		return declareBid;
	}
	public TccLogisticsSadFile setDeclareBid(String declareBid) {
		this.declareBid = declareBid;
		return this;
	}
	public String getVgsbm() {
		return vgsbm;
	}
	public TccLogisticsSadFile setVgsbm(String vgsbm) {
		this.vgsbm = vgsbm;
		return this;
	}
	public String getLogisticsName() {
		return logisticsName;
	}
	public TccLogisticsSadFile setLogisticsName(String logisticsName) {
		this.logisticsName = logisticsName;
		return this;
	}
	public String getLogisticsService() {
		return logisticsService;
	}
	public TccLogisticsSadFile setLogisticsService(String logisticsService) {
		this.logisticsService = logisticsService;
		return this;
	}
	public String getAnnexFile() {
		return annexFile;
	}
	public TccLogisticsSadFile setAnnexFile(String annexFile) {
		this.annexFile = annexFile;
		return this;
	}
	public String getCountryBid() {
		return countryBid;
	}
	public TccLogisticsSadFile setCountryBid(String countryBid) {
		this.countryBid = countryBid;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TccLogisticsSadFile setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TccLogisticsSadFile setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TccLogisticsSadFile setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TccLogisticsSadFile tccLogisticsSadFile(
		Long logisticsComprehensiveId,
		String fbaNo,
		String logOrderBid,
		String logInvoiceNo,
		Date declareTime,
		Integer declareState,
		String declareBid,
		String vgsbm,
		String logisticsName,
		String logisticsService,
		String annexFile,
		String countryBid,
		Integer status
			) {
		TccLogisticsSadFile entity = new TccLogisticsSadFile();
		entity.setLogisticsComprehensiveId(logisticsComprehensiveId);
		entity.setFbaNo(fbaNo);
		entity.setLogOrderBid(logOrderBid);
		entity.setLogInvoiceNo(logInvoiceNo);
		entity.setDeclareTime(declareTime);
		entity.setDeclareState(declareState);
		entity.setDeclareBid(declareBid);
		entity.setVgsbm(vgsbm);
		entity.setLogisticsName(logisticsName);
		entity.setLogisticsService(logisticsService);
		entity.setAnnexFile(annexFile);
		entity.setCountryBid(countryBid);
		entity.setStatus(status);
		return entity;
	}
}